package com.fulin.annotation;

import java.time.LocalDateTime;

public class Test {
	public static void main(String[] args) {
//		long x = 1600848241083L;
//		long y = x + 90 *24 * 60 * 60 * 1000;
//		long z = x + 90 *24 * 60 * 60 * 1000L;
//		System.out.println(y);
//		System.out.println(z);
//		System.out.println(90 *24 * 60 * 60 * 1000);
//		System.out.println(90 *24 * 60 * 60 * 1000L);
		String descrTemplate = "%s年%s月%s日通过华润通积分通兑项目兑换%s里程 订单号%s";
		LocalDateTime ldt = LocalDateTime.now();
		String abcOrder = String.format(descrTemplate, ldt.getYear(), ldt.getMonthValue(), ldt.getDayOfMonth(), 200, "abcOrder");
		System.out.println(abcOrder);
	}
}
